telegraf: update to 1.36.2
authorNiklas Thorild <[email protected]>
Mon, 29 Sep 2025 21:27:23 +0000 (23:27 +0200)
committerHannu Nyman <[email protected]>
Wed, 1 Oct 2025 15:07:41 +0000 (18:07 +0300)
- Update Telegraf to v1.36.2
- Remove HOME environment variable in service file

Signed-off-by: Niklas Thorild <[email protected]>
utils/telegraf/Makefile
utils/telegraf/files/etc/init.d/telegraf

index 7e3a21c8029fe6a04f21413a911ad1edde16d826..59121cca2e16af7f7a48e98751c6232ef2f047ce 100644 (file)
@@ -3,12 +3,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=telegraf
-PKG_VERSION:=1.36.1
+PKG_VERSION:=1.36.2
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/influxdata/telegraf/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=2478f4c9543300ed44cc0a3329e5a4c6095d9a6eae86aa2deab4ff9d19c1fdd5
+PKG_HASH:=f4d0f3c430a0a8a9f8888c6e6038f8ce58111c1f3bbf222799ed965df94afdca
 
 PKG_MAINTAINER:=Niklas Thorild <[email protected]>
 PKG_LICENSE:=MIT
@@ -23,7 +23,7 @@ GO_PKG_BUILD_PKG:=github.com/influxdata/telegraf/cmd/telegraf
 GO_PKG_LDFLAGS_X := \
   github.com/influxdata/telegraf/internal.Version=$(PKG_VERSION) \
   github.com/influxdata/telegraf/internal.Branch=HEAD \
-  github.com/influxdata/telegraf/internal.Commit=cbb7f134
+  github.com/influxdata/telegraf/internal.Commit=8bdd0265
 
 ifeq ($(CONFIG_mips)$(CONFIG_mipsel),y)
   TARGET_LDFLAGS += -static
index 6cbae1d45296497525a982713d3f37210095dde0..dd1c8a1f5e281a8d0858b2348e66967fe6b68732 100755 (executable)
@@ -8,7 +8,6 @@ STOP=01
 start_service() {
     procd_open_instance
     procd_set_param command /usr/bin/telegraf --config /etc/telegraf.conf
-    procd_set_param env HOME=/root
     procd_set_param stdout 1
     procd_set_param stderr 1
     procd_close_instance